yScale
Type
property
Summary
Specifies the ratio of the height of an EPS object's postScript bounding box to the object's screen height.
Syntax
set the yScale of <EPSObject> to <number>
Description
Use the yScale property to control an EPS object's screen appearance.
The number 1 indicates no scaling--that is, the EPS object's height is the same as the height specified by the postScript code it contains. Numbers greater than one indicate that the object's height is less than the postScript height; the screen object is scaled down. Numbers less than one indicate that the object's height is greater than the postScript height, and the screen object is scaled up from the postScript.
In geometric terms, yScale = yExtent/height.
If the object's scaleIndependently property is false, the yScale property is equal to the scale of the object.
This property is supported only on Unix systems with Display PostScript installed.
Examples
set the yScale of last EPS to 2 -- PS image twice the height of screen
set the yScale of EPS "Guido" to 0.25 -- one-fourth the height
Related
glossary: EPS, property, object
property: scaleIndependently, postScript, scale
Compatibility and Support
Introduced
LiveCode 1.0
OS
linux
Platforms
desktop